package com.bd.scm.domain.models.overTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 加班明细视图，包括主表、明细表
 *
 */
@ApiModel(value="com-bd-scm-domain-models-overTime-OvertimeView")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "bd_view_overtime")
public class OverTimeView implements Serializable {
    @TableField(value = "order_id")
    @ApiModelProperty(value="")
    private Integer orderId;

    @TableField(value = "order_no")
    @ApiModelProperty(value="")
    private String orderNo;

    @TableField(value = "ot_date")
    @ApiModelProperty(value="")
    private Date otDate;

    @TableField(value = "sum_user")
    @ApiModelProperty(value="")
    private Integer sumUser;

    @TableField(value = "sum_minute")
    @ApiModelProperty(value="")
    private Integer sumMinute;

    @TableField(value = "is_leave")
    @ApiModelProperty(value="")
    private Integer isLeave;

    @TableField(value = "reason")
    @ApiModelProperty(value="")
    private String reason;

    @TableField(value = "status")
    @ApiModelProperty(value="")
    private Integer status;

    @TableField(value = "status_name")
    @ApiModelProperty(value="")
    private String statusName;

    @TableField(value = "last_approver")
    @ApiModelProperty(value="")
    private String lastApprover;

    @TableField(value = "last_approver_no")
    @ApiModelProperty(value="")
    private String lastApproverNo;

    @TableField(value = "last_approver_name")
    @ApiModelProperty(value="")
    private String lastApproverName;

    @TableField(value = "submitter_id")
    @ApiModelProperty(value="")
    private String submitterId;

    @TableField(value = "submitter_no")
    @ApiModelProperty(value="")
    private String submitterNo;

    @TableField(value = "submitter_name")
    @ApiModelProperty(value="")
    private String submitterName;

    @TableField(value = "submitter_time")
    @ApiModelProperty(value="")
    private Date submitterTime;

    @TableField(value = "is_delete")
    @ApiModelProperty(value="")
    private Integer isDelete;

    @TableField(value = "approver1")
    @ApiModelProperty(value="")
    private String approver1;

    @TableField(value = "approver1_no")
    @ApiModelProperty(value="")
    private String approver1No;

    @TableField(value = "approver1_name")
    @ApiModelProperty(value="")
    private String approver1Name;

    @TableField(value = "approver2")
    @ApiModelProperty(value="")
    private String approver2;

    @TableField(value = "approver2_no")
    @ApiModelProperty(value="")
    private String approver2No;

    @TableField(value = "approver2_name")
    @ApiModelProperty(value="")
    private String approver2Name;

    @TableField(value = "approval_time")
    @ApiModelProperty(value="")
    private Date approvalTime;

    @TableField(value = "remove_user")
    @ApiModelProperty(value="")
    private String removeUser;

    @TableField(value = "remove_time")
    @ApiModelProperty(value="")
    private Date removeTime;

    @TableField(value = "return_remark")
    @ApiModelProperty(value="")
    private String returnRemark;

    @TableField(value = "apply_type")
    @ApiModelProperty(value="")
    private Integer applyType;

    @TableField(value = "user_serial")
    @ApiModelProperty(value="")
    private Integer userSerial;

    @TableField(value = "user_no")
    @ApiModelProperty(value="")
    private String userNo;

    @TableField(value = "user_name")
    @ApiModelProperty(value="")
    private String userName;

    @TableField(value = "dep_id")
    @ApiModelProperty(value="")
    private Integer depId;

    @TableField(value = "dep_name")
    @ApiModelProperty(value="")
    private String depName;

    @TableField(value = "user_type")
    @ApiModelProperty(value="")
    private Short userType;

    @TableField(value = "kssj")
    @ApiModelProperty(value="")
    private Date kssj;

    @TableField(value = "jssj")
    @ApiModelProperty(value="")
    private Date jssj;

    @TableField(value = "jsjg")
    @ApiModelProperty(value="")
    private Integer jsjg;

    @TableField(value = "jsjg_hour")
    @ApiModelProperty(value="")
    private BigDecimal jsjgHour;

    @TableField(value = "gly_no")
    @ApiModelProperty(value="")
    private String glyNo;

    @TableField(value = "shenhe")
    @ApiModelProperty(value="")
    private String shenhe;

    @TableField(value = "lx")
    @ApiModelProperty(value="")
    private Integer lx;

    @TableField(value = "jbrq")
    @ApiModelProperty(value="")
    private Date jbrq;

    @TableField(value = "img_path")
    @ApiModelProperty(value="")
    private String imgPath;

    @TableField(value = "ot_begin")
    @ApiModelProperty(value="")
    private Integer otBegin;

    @TableField(value = "ot_end")
    @ApiModelProperty(value="")
    private Integer otEnd;

    @TableField(value = "over_time_type_id")
    @ApiModelProperty(value="")
    private Integer overTimeTypeId;

    @TableField(value = "is_repast")
    @ApiModelProperty(value="")
    private Integer isRepast;

    @TableField(value = "shift_id")
    @ApiModelProperty(value="")
    private Integer shiftId;

    @TableField(value = "shift_name")
    @ApiModelProperty(value="")
    private String shiftName;

    @TableField(value = "detail_is_delete")
    @ApiModelProperty(value="")
    private Integer detailIsDelete;

    @TableField(value = "detail_remove_user")
    @ApiModelProperty(value="")
    private String detailRemoveUser;

    @TableField(value = "detail_remove_time")
    @ApiModelProperty(value="")
    private Date detailRemoveTime;

    @TableField(value = "detail_return_remark")
    @ApiModelProperty(value="")
    private String detailReturnRemark;

    @TableId(value = "detail_id")
    @ApiModelProperty(value="")
    private Integer detailId;

    private static final long serialVersionUID = 1L;

    public static final String COL_ORDER_ID = "order_id";

    public static final String COL_ORDER_NO = "order_no";

    public static final String COL_OT_DATE = "ot_date";

    public static final String COL_SUM_USER = "sum_user";

    public static final String COL_SUM_MINUTE = "sum_minute";

    public static final String COL_IS_LEAVE = "is_leave";

    public static final String COL_REASON = "reason";

    public static final String COL_STATUS = "status";

    public static final String COL_STATUS_NAME = "status_name";

    public static final String COL_LAST_APPROVER = "last_approver";

    public static final String COL_LAST_APPROVER_NO = "last_approver_no";

    public static final String COL_LAST_APPROVER_NAME = "last_approver_name";

    public static final String COL_SUBMITTER_ID = "submitter_id";

    public static final String COL_SUBMITTER_NO = "submitter_no";

    public static final String COL_SUBMITTER_NAME = "submitter_name";

    public static final String COL_SUBMITTER_TIME = "submitter_time";

    public static final String COL_IS_DELETE = "is_delete";

    public static final String COL_APPROVER1 = "approver1";

    public static final String COL_APPROVER1_NO = "approver1_no";

    public static final String COL_APPROVER1_NAME = "approver1_name";

    public static final String COL_APPROVER2 = "approver2";

    public static final String COL_APPROVER2_NO = "approver2_no";

    public static final String COL_APPROVER2_NAME = "approver2_name";

    public static final String COL_APPROVAL_TIME = "approval_time";

    public static final String COL_REMOVE_USER = "remove_user";

    public static final String COL_REMOVE_TIME = "remove_time";

    public static final String COL_RETURN_REMARK = "return_remark";

    public static final String COL_APPLY_TYPE = "apply_type";

    public static final String COL_USER_SERIAL = "user_serial";

    public static final String COL_USER_NO = "user_no";

    public static final String COL_USER_NAME = "user_name";

    public static final String COL_DEP_ID = "dep_id";

    public static final String COL_DEP_NAME = "dep_name";

    public static final String COL_USER_TYPE = "user_type";

    public static final String COL_KSSJ = "kssj";

    public static final String COL_JSSJ = "jssj";

    public static final String COL_JSJG = "jsjg";

    public static final String COL_JSJG_HOUR = "jsjg_hour";

    public static final String COL_GLY_NO = "gly_no";

    public static final String COL_SHENHE = "shenhe";

    public static final String COL_LX = "lx";

    public static final String COL_JBRQ = "jbrq";

    public static final String COL_IMG_PATH = "img_path";

    public static final String COL_OT_BEGIN = "ot_begin";

    public static final String COL_OT_END = "ot_end";

    public static final String COL_OVER_TIME_TYPE_ID = "over_time_type_id";

    public static final String COL_IS_REPAST = "is_repast";

    public static final String COL_SHIFT_ID = "shift_id";

    public static final String COL_SHIFT_NAME = "shift_name";

    public static final String COL_DETAIL_IS_DELETE = "detail_is_delete";

    public static final String COL_DETAIL_REMOVE_USER = "detail_remove_user";

    public static final String COL_DETAIL_REMOVE_TIME = "detail_remove_time";

    public static final String COL_DETAIL_RETURN_REMARK = "detail_return_remark";

    public static final String COL_DETAIL_ID = "detail_id";
}